<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="./js/index.js"></script>
    <title>Document</title>
    <style>
        * {
            margin: 0;
        }
        header{
            height: 50px;
            background-color: #323232;
        }
        body {
            background-color: #cdcdcd;
        }
        .add_list {
            height: 30px;
            width: 600px;
            margin: 0 auto;
        }
        .add_list span {
            float: left;
            width: 100px;
            line-height: 50px;
            color: #DDD;
            font-size: 24px;
            cursor: pointer;
            font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
        }
        .add_list span:last-child {
            width: 500px;
        }
        .add_list span:last-child input {
            width: 60%;
            float: right;
            height: 24px;
            margin-top: 12px;
            text-indent: 10px;
            border-radius: 5px;
            box-shadow: 0 1px 0 rgba(255,255,255,0.24), 0 1px 6px rgba(0,0,0,0.45) inset;
            border: none;
        }
        main {
            width: 600px;
            margin: 0 auto;

        }
        h3 {
            position: relative;
            display: block;
            font-size: 1.5em;
            margin-block-start: 0.83em;
            margin-block-end: 0.83em;
            margin-inline-start: 0px;
            margin-inline-end: 0px;
            font-weight: bold;
        }
        h3 span {
            position: absolute;
            top: 2px;
            right: 5px;
            display: inline-block;
            padding: 0 5px;
            height: 20px;
            border-radius: 20px;
            background: #E6E6FA;
            line-height: 22px;
            text-align: center;
            color: #666;
            font-size: 14px;
        }
        main li {
            height: 35px;
            background-color: #ffffff;
        }
        ol,li {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        ol li {
            height: 32px;
            line-height: 32px;
            background: #fff;
            position: relative;
            margin-bottom: 10px;
            padding: 0 45px;
            border-radius: 3px;
            border-left: 5px solid #629A9C;
            box-shadow: 0 1px 2px rgba(0,0,0,0.07);
        }
        ol input {
            position: absolute;
            top: 2px;
            left: 10px;
            width: 22px;
            height: 22px;
            cursor: pointer;
        }
        input[type="checkbox" i] {
            background-color: initial;
            cursor: default;
            -webkit-appearance: checkbox;
            box-sizing: border-box;
            margin: 3px 3px 3px 4px;
            padding: initial;
            border: initial;
        }
        li a {
            position: absolute;
            top: 2px;
            right: 5px;
            display: inline-block;
            width: 14px;
            height: 12px;
            border-radius: 14px;
            border: 6px double #FFF;
            background: #CCC;
            line-height: 14px;
            text-align: center;
            color: #FFF;
            font-weight: bold;
            font-size: 14px;
            cursor: pointer;
        }
        .done li {
            background-color: #e6e6e6;
            border-left: 5px solid #b3b3b3;
        }
        .undo li p {
            position: relative;
        }
        .undo li p input{
            position: absolute;
            left: 0;
            height: 22px;
            width: 100%;
            border: 1px solid #b3b3b3;
            font-weight: 700px;
            font-size: 20px;
            top: 2px;
        }
    </style>
</head>
<body>
    <header>
        <div class="add_list">
            <span>ToDoList</span>
            <span>
                <input type="text" id="in">
            </span>
        </div>
    </header>
    <main>
        <h3>正在进行<span class="numundo">0</span></h3>
        <ol class="undo">
            <li>
                <input type="checkbox">
                <p>这是未完成的数据</p>
                <a href="#"></a>
            </li>
        </ol>
        <h3>已经完成<span class="numdone">0</span></h3>
        <ol class="done">
            <li>
                <input type="checkbox">
                <p>这是未完成的数据</p>
                <a href="#"></a>
            </li>
        </ol>
    </main>
</body>
</html>